/* 玫瑰图容器样式 */
.rose-chart-container {
  margin-bottom: 20px;
  padding: 20px;
  border-radius: 10px;
  background-color: transparent;
  backdrop-filter: blur(20px);
  margin-left: 0;
  margin-right: 0;
  width: 100%;
  max-width: 1100px;
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
}

.chart-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--theme-color);
  margin: 0;
}

.filter-options {
  display: flex;
  align-items: center;
}

.filter-options span {
  margin-right: 10px;
  color: var(--theme-color);
}

.type-select {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  padding: 8px 12px;
  color: var(--theme-color);
  cursor: pointer;
  transition: all 0.3s ease;
}

.type-select:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.type-select:focus {
  outline: none;
  border-color: var(--highlight-color);
  box-shadow: 0 0 0 2px rgba(0, 176, 255, 0.2);
}

.rose-chart {
  width: 100%;
  height: 500px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.5s ease;
}

.chart-info {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid var(--border-color);
}

.chart-desc {
  color: var(--theme-color);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  opacity: 0.8;
}

/* 数据洞察容器样式 */
.insight-container {
  padding: 20px;
  border-radius: 10px;
  background-color: transparent;
  backdrop-filter: blur(20px);
  margin-bottom: 20px;
  margin-left: 0;
  margin-right: 0;
  width: 100%;
  max-width: 1100px;
}

.insight-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--theme-color);
  margin-top: 0;
  margin-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 15px;
}

.insight-content {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.insight-item {
  display: flex;
  align-items: flex-start;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 15px;
  flex: 1;
  min-width: 250px;
  transition: all 0.3s ease;
}

.insight-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.insight-icon {
  font-size: 24px;
  margin-right: 15px;
  background: linear-gradient(45deg, var(--highlight-color), #8E54E9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.insight-detail h4 {
  color: var(--theme-color);
  margin: 0 0 5px 0;
  font-size: 16px;
}

.insight-detail p {
  color: var(--theme-color);
  margin: 0;
  font-size: 14px;
  opacity: 0.8;
  line-height: 1.5;
}

.insight-detail span {
  color: var(--highlight-color);
  font-weight: bold;
}

/* 动画效果 */
.fade-in {
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0.7; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 响应式布局 */
@media screen and (max-width: 768px) {
  .chart-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .filter-options {
    margin-top: 10px;
  }
  
  .insight-content {
    flex-direction: column;
  }
}

/* 矩阵图容器样式 */
.matrix-chart-container {
  margin-bottom: 30px;
  padding: 25px;
  border-radius: 12px;
  background-color: transparent;
  backdrop-filter: blur(20px);
  width: 100%;
  max-width: 1100px;
  margin-left: 0;
  margin-right: 0;
}

.matrix-chart {
  width: 100%;
  height: 700px;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.5s ease;
}

/* 工具提示自定义样式 */
.echarts-tooltip {
  background-color: rgba(0, 40, 58, 0.9) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  color: #f9fafb !important;
  padding: 10px !important;
  border-radius: 5px !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2) !important;
}

/* 调整右侧内容区域的宽度 */
.co-right {
  width: 100%;
  max-width: 1200px !important;
  margin-left: 300px !important;
  margin-right: 0 !important;
  padding-left: 50px !important;
  box-sizing: border-box;
}

/* 调整所有图表容器的宽度 */
.rose-chart-container,
.matrix-chart-container,
.insight-container {
  margin-left: 0;
  margin-right: 0;
  width: 100%;
  max-width: 1100px;
}
